.class public Lcom/waiqin365/lightapp/chexiao/b/a/an;
.super Lcom/waiqin365/lightapp/chexiao/b/d;


# instance fields
.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:Lcom/waiqin365/lightapp/chexiao/c/d;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x7f

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/chexiao/b/d;-><init>(I)V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 4

    const/4 v0, 0x1

    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v2, "code"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_1

    const-string/jumbo v2, "code"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->b:Ljava/lang/String;

    const-string/jumbo v2, "1"

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    const-string/jumbo v2, "data"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string/jumbo v2, "data"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v2

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/c/d;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/chexiao/c/d;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "id"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_3

    const-string/jumbo v1, "id"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_0
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->a:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "code"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_4

    const-string/jumbo v1, "code"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_1
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->b:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "contact_entity_name"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_5

    const-string/jumbo v1, "contact_entity_name"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_2
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->c:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "type_name"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_6

    const-string/jumbo v1, "type_name"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_3
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->d:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "amount"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_7

    const-string/jumbo v1, "amount"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_4
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->e:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "date"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_8

    const-string/jumbo v1, "date"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_5
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->i:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "emp_name"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_9

    const-string/jumbo v1, "emp_name"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_6
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->g:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "confirm_status"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_a

    const-string/jumbo v1, "confirm_status"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_7
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->k:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "creator_name"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_b

    const-string/jumbo v1, "creator_name"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_8
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->h:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "create_time"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_c

    const-string/jumbo v1, "create_time"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_9
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->i:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "modify_time"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_d

    const-string/jumbo v1, "modify_time"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_a
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->j:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->d:Lcom/waiqin365/lightapp/chexiao/c/d;

    const-string/jumbo v1, "remark"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_e

    const-string/jumbo v1, "remark"

    invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_b
    iput-object v1, v3, Lcom/waiqin365/lightapp/chexiao/c/d;->f:Ljava/lang/String;

    :cond_0
    :goto_c
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_c

    :cond_2
    const-string/jumbo v2, "message"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string/jumbo v2, "message"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/chexiao/b/a/an;->c:Ljava/lang/String;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_c

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_c

    :cond_3
    :try_start_1
    const-string/jumbo v1, ""

    goto/16 :goto_0

    :cond_4
    const-string/jumbo v1, ""

    goto/16 :goto_1

    :cond_5
    const-string/jumbo v1, ""

    goto/16 :goto_2

    :cond_6
    const-string/jumbo v1, ""

    goto/16 :goto_3

    :cond_7
    const-string/jumbo v1, ""

    goto/16 :goto_4

    :cond_8
    const-string/jumbo v1, ""

    goto/16 :goto_5

    :cond_9
    const-string/jumbo v1, ""

    goto/16 :goto_6

    :cond_a
    const-string/jumbo v1, ""

    goto/16 :goto_7

    :cond_b
    const-string/jumbo v1, ""

    goto/16 :goto_8

    :cond_c
    const-string/jumbo v1, ""

    goto :goto_9

    :cond_d
    const-string/jumbo v1, ""

    goto :goto_a

    :cond_e
    const-string/jumbo v1, ""
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_b
.end method
